﻿<div id="postbox-container-1" class="postbox-container margin">
  <div id="side-sortables" class="meta-box-sortables">
    <div id="categorydiv" class="postbox " >
      <div class="handlediv" title="Click to toggle"><br />
      </div>
      <h3 class='hndle'><span>Thêm mới thành viên</span></h3>
      <?php 
        if(!empty($messege)){
            echo "<p class='alert-err'>".$messege."</p>";    
        }else{
            if(!empty($errors)){
                foreach($errors as $ers){
                    echo "<p class='alert-err'>".$ers."</p>";
                }
            }else{
                if(!empty($check)){
                    foreach($check as $ck){
                        echo "<p class='alert-err'>".$ck."</p>";
                    }
                }else{
                    if(!empty($success))
                        echo "<p class='alert-succ'>".$success."</p>";
                }
            }
        }
      ?>
    <form action="" method="post">
      <div class="inside">
    		<input type="text" name="user_name" id="user_name" size="18" placeholder="Tên đăng nhập (*)" class="form-required form-input-tip" tabindex="3" aria-required="true"/>
    		<p class="hide-if-no-js">
                <input type="password" name="user_pass" id="user_pass" class="form-required form-input-tip" placeholder="Mật khẩu (*)" tabindex="3" aria-required="true"/>
            </p>
            <p class="hide-if-no-js">
                <input type="password" name="user_re_pass" id="user_re_pass" class="form-required form-input-tip" placeholder="Nhập lại Mật khẩu (*)" tabindex="3" aria-required="true"/>
            </p>
            <p class="hide-if-no-js">
                <input type="text" name="user_email" id="email" class="form-required form-input-tip" placeholder="Email(*)" tabindex="3" aria-required="true"/>
            </p>
            <p class="hide-if-no-js">
                <input type="text" name="user_display_name" id="user_display_name" class="form-required form-input-tip" placeholder="Tên hiển thị" tabindex="3" aria-required="true"/>
            </p>
            <p class="hide-if-no-js">
                <select name="user_level">
                    <option value="2">Thành viên</option>
                    <option value="1">Admin</option>
                </select>
            </p>
    		<input type="submit" id="category-add-submit" name="add_user" class="add:categorychecklist:category-add button category-add-submit" value="Thêm thành viên	" tabindex="3" />
    		<input type="hidden" id="_ajax_nonce-add-category" name="_ajax_nonce-add-category" value="014d024d1b" />
    		<span id="category-ajax-response"></span> 
      </div>
      </form>
    </div>
  </div>
</div>